package com.lrkj.back.mapper;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.TbFile;

import cn.com.cbons.mamisay.parent.db.api.DBInterface;
import cn.com.cbons.mamisay.parent.exception.DBException;

public interface TbFileMapper extends DBInterface<TbFile>{
    int deleteByPrimaryKey(Integer fileId) throws DBException;

    int insert(TbFile record) throws DBException;

    int insertSelective(TbFile record) throws DBException;

    TbFile selectByPrimaryKey(Integer fileId) throws DBException;

    int updateByPrimaryKeySelective(TbFile record) throws DBException;

    int updateByPrimaryKey(TbFile record) throws DBException;
    
    List<TbFile> findAll(Map<String, Object> map) throws DBException;
    
    int deleteByBatch(List<String> fileIds);
}